﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="bonus_fa.aspx.cs" Inherits="WebSite.admin.shop.bonus_fa" %>

 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>上海万礼通网络科技后台管理系统</title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "促销管理";
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>发放红包。&nbsp;&nbsp;<img src='images/sort_desc.gif' /> <a href='shop/bonus.aspx' target='content'><font color=#ff0000>红包类别</font></a>"
    </script>
    <script language='javascript'>
        var path = (window.top.location).toString();
        if (path.indexOf('login.aspx') == -1) {
            if (path.indexOf('index.aspx') == -1) {
                window.top.location = 'index.aspx';
            }
        }
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%">
  <tr>
    <td class="label">按用户等级发放红包:</td>
    <td>
      <select name="rank_id">
      <option value="0">选择会员等级...</option>
      <option value="1">注册用户</option><option value="2">高级会员</option>      </select>&nbsp;&nbsp;&nbsp;
      <input type="submit" name="send_rank" value="确定发送红包" class="button" />
    </td>
  </tr>
</table>
<input type="hidden" name="act" value="send_by_user" />
<input type="hidden" name="id" value="1" />
</form>
</div>

<div class="main-div">
<form name="theForm" action="bonus.php" method="post" onsubmit="return validate();">
<div class="form-div">
<img src="../images/icon_search.gif" border="0" alt="SEARCH" />关键字：      <input type="text" name="keyword" size="30" />
      <input type="button" name="search" value=" 搜索 " onclick="searchUser();" />
</div>
<div class="list-div">
<table cellspacing='1' cellpadding='3'>
  <tr>
    <th>会员列表：</th>
    <th>操作</th>
    <th>给下列用户发放红包</th>
  </tr>
  <tr>
    <td width="45%" align="center">
      <select name="user_search[]" id="user_search" size="15" style="width:260px" ondblclick="addUser()" multiple="true">
      </select>
    </td>
    <td align="center">
      <p><input type="button" value="&gt;" onclick="addUser()" class="button" /></p>
      <p><input type="button" value="&lt;" onclick="delUser()" class="button" /></p>
    </td>
    <td width="45%" align="center">
      <select name="user[]" id="user" multiple="true" size="15" style="width:260px" ondblclick="delUser()">
      </select>
    </td>
  </tr>
  <tr>
    <td align="center" colspan="3"><input type="submit" name="send_user" value="确定发送红包" class="button" /></td>
  </tr>
</table>
</center>
    </div>
    </form>
</body>
</html>
